package com.miyake.dsp;

public class ComplexArray {
	public ComplexArray(double[] realPart, double[] imagPart) {
		this.realPart = realPart;
		this.imagPart = imagPart;
	}
	
	public ComplexArray(double[] realPart) {
		this.realPart = realPart;
	}
	
	private double[] realPart;
	private double[] imagPart;
	public double[] getRealPart() {
		return realPart;
	}
	public double[] getImagPart() {
		return imagPart;
	}

	public void setRealPart(int i, double d) {
		this.realPart[i] = d;
	}
	
	public void setImagPart(int i, double d) {
		this.imagPart[i] = d;
	}
}
